using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 企业实际控制人
    /// </summary>
    [Table("JIUSHI_CUSTOMERACTUALCONTROLLER")]
    public class CustomeractualcontrollerEntity
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [Column("F_ID")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 客户主键
        /// </summary>
        [Column("F_CUSTOMERID")]
        public int CustomerId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [Column("F_NAME")]
        [MaxLength(255)]
        public string Name { get; set; }

        /// <summary>
        /// 现场访谈
        /// </summary>
        [Column("F_TALKSHOW")]
        [MaxLength(500)]
        public string TalkShowame { get; set; }

        /// <summary>
        /// 现场访谈视频
        /// </summary>
        [Column("F_TalkShowBusinessId")]
        [MaxLength(50)]
        public string TalkShowBusinessId { get; set; }

        /// <summary>
        /// 业务ID
        /// </summary>
        [Column("F_BUSINESSID")]
        [MaxLength(255)]
        public string BusinessId { get; set; }



        /// <summary>
        /// 出生日期
        /// </summary>
        [Column("F_BIRTHDATE")]
        public DateTime? BirthDate { get; set; }

        /// <summary>
        /// 学历
        /// </summary>
        [Column("F_EDUCATION")]
        [MaxLength(255)]
        public string Education { get; set; }

        /// <summary>
        /// 籍贯
        /// </summary>
        [Column("F_ORIGIN")]
        [MaxLength(255)]
        public string Origin { get; set; }

        /// <summary>
        /// 定居年数
        /// </summary>
        [Column("F_YEARSOFRESIDENCE")]
        public int? YearsOfResidence { get; set; }

        /// <summary>
        /// 婚姻状况
        /// </summary>
        [Column("F_MARRIAGESTATUS")]
        [MaxLength(255)]
        public string MarriageStatus { get; set; }

        /// <summary>
        /// 配偶情况
        /// </summary>
        [Column("F_SPOUSESITUATION")]
        [MaxLength(65535)]
        public string SpouseSituation { get; set; }

        /// <summary>
        /// 子女情况
        /// </summary>
        [Column("F_CHILDRENSITUATION")]
        [MaxLength(65535)]
        public string ChildrenSituation { get; set; }

        /// <summary>
        /// 家庭成员本地定居情况
        /// </summary>
        [Column("F_FAMILYLOCALRESIDENCESTATUS")]
        [MaxLength(255)]
        public string FamilyLocalResidenceStatus { get; set; }

        /// <summary>
        /// 专业技能或个人荣誉
        /// </summary>
        [Column("F_PROFESSIONALSKILLSORHONORS")]
        [MaxLength(65535)]
        public string ProfessionalSkillsOrHonors { get; set; }

        /// <summary>
        /// 家庭房产信息
        /// </summary>
        [Column("F_FAMILYPROPERTYINFORMATION")]
        [MaxLength(65535)]
        public string FamilyPropertyInformation { get; set; }

        /// <summary>
        /// 实际控制人与法定代表人关系说明
        /// </summary>
        [Column("F_RELATIONSHIPBETWEENACTUALCONTROLLERANDLEGALREPRESENTATIVE")]
        [MaxLength(65535)]
        public string RelationshipBetweenActualControllerAndLegalRepresentative { get; set; }

        /// <summary>
        /// 实际控制人两年内是否发生过变更
        /// </summary>
        [Column("F_HASACTUALCONTROLLERCHANGEDINTWOYEARS")]
        public byte? HasActualControllerChangedInTwoYears { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [Column("F_SORTCODE")]
        public int? SortCode { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSERID")]
        [MaxLength(50)]
        public string CreatorUserId { get; set; }


        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSER")]
        [MaxLength(50)]
        public string CreatorUser { get; set; }


        /// <summary>
        /// 修改时间
        /// </summary>
        [Column("F_LASTMODIFYTIME")]
        public DateTime? LastModifyTime { get; set; }

        /// <summary>
        /// 修改用户
        /// </summary>
        [Column("F_LASTMODIFYUSERID")]
        [MaxLength(50)]
        public string LastModifyUserId { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        [Column("F_DELETEMARK")]
        public int? DeleteMark { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("F_DELETETIME")]
        public DateTime? DeleteTime { get; set; }

        /// <summary>
        /// 删除用户
        /// </summary>
        [Column("F_DELETEUSERID")]
        [MaxLength(50)]
        public string DeleteUserId { get; set; }


    }
}
